package com.example.demo.dao;

import com.example.demo.model.entity.Source;
import org.springframework.data.domain.Page;
import org.springframework.data.domain.Pageable;
import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.stereotype.Repository;

import java.util.List;

/**
 * Created by abc on 2017/6/8.
 */
@Repository
public interface SourceRepository extends JpaRepository<Source, Long> {

    Page<Source> findByIsHandle(Integer isHandle, Pageable pageable);

}
